<%@ page contentType="text/html; charset=windows-1252" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
        <title>Tags</title>
        <link type="text/css" href="jquery/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
    </head>

    <body>
        <form name="formTwitter" onsubmit="searchBing()">
            <fieldset>
                <legend>Search Microsoft Bing </legend>
                <table width="40%" border="0" cellspacing="3" cellpadding="3">
                    <tr>
                        <td width="20%" class="hentry">Content</td>

                        <td width="80%"><input size="50" type="text" name="query" /></td>
                    </tr> 

                    <tr>
                        <td colspan="2"><div align="right"><image name="button" id="button" src="images/folder_add_32.png" title="Search"/></div></td>
                    </tr>
                </table>
            </fieldset>
        </form>
        <script>
            function searchBing(){
                parent.nefertiteController.showLoadingDiv();
                query = document.formTwitter.query.value;
                parent.document.location="PinoController.do?method=searchMicrosoftBing&query="+query
            }
            document.getElementById("button").onclick=function(){
                searchBing();
            }
        </script>
    </body>
</html>